//
//  PBTabPageViewController.h
//  PlatinumButler
//
//  Created by 高小松 on 14-3-10.
//  Copyright (c) 2014年 gxsoft. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PBNaviTitleView;

// 标签页基类
@interface PBTabPageViewController : UIViewController
    <UICollectionViewDataSource, UICollectionViewDelegate>

@property (nonatomic, retain) PBNaviTitleView * naviTitle;  // 页面上方的标题栏
@property (nonatomic, assign) BOOL hasNaviTitle;            // 是否在页面上方显示标题栏
@property (nonatomic, retain) UICollectionView * collectionView;        // 功能列表视图
@property (nonatomic, retain) UICollectionViewFlowLayout * flowLayout;  // 列表视图布局
@property (nonatomic, retain) NSArray * dataSource;         // 功能列表项文字
@property (nonatomic, retain) NSArray * dataImage;          // 功能列表项图片

- (CGRect)contentRect;  // 内容视图的大小
- (NSString *)dequeueReusableCellWithReuseIdentifier;   // ReuseId值

- (void)addLeftButton;
- (void)addRightButton;

@end
